Interface: Buffer<T>
Buffer to hold the signal subject
Type parameters
Name |
---|
T |
Methods
add
▸ add(value
): void
Add value to buffer
Parameters
Name | Type |
---|---|
value | T |
Returns
void
entries
▸ entries(): T
[]
Returns
T
[]
the current buffered values as an array
forEach
▸ forEach(cb
): void
Iterate over the buffered values
Parameters
Name | Type |
---|---|
cb | (value : T , index : number ) => void |
Returns
void